package com.edu.exam.enums.grading.export;

import com.edu.exam.enums.core.BaseEnum;

/**
 * 成绩导出任务类型枚举
 */
public enum GradeExportTaskType implements BaseEnum {
    FULL_EXPORT("FULL_EXPORT", "全量导出"),
    INCREMENTAL_EXPORT("INCREMENTAL_EXPORT", "增量导出"),
    SELECTIVE_EXPORT("SELECTIVE_EXPORT", "选择性导出"),
    SCHEDULED_EXPORT("SCHEDULED_EXPORT", "定时导出"),
    MANUAL_EXPORT("MANUAL_EXPORT", "手动导出"),
    AUTOMATED_EXPORT("AUTOMATED_EXPORT", "自动导出");

    private final String code;
    private final String description;

    GradeExportTaskType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
